@font-face {
    font-family: '鼎猎珠海体';
    src: url('../字体/鼎猎珠海体.ttf') format('truetype');
    font-weight: normal;
    /* 字体粗细 */
    font-style: normal;
    /* 字体样式（斜体） */
}









:root {
    --imperial-blue: #d28a39;
    --gold: #4f5f96;
}

@font-face {
    font-family: '鼎猎珠海体';
    src: url('../字体/鼎猎珠海体.ttf') format('truetype');
    font-weight: normal;
    /* 字体粗细 */
    font-style: normal;
    /* 字体样式（斜体） */
}

a {
    font-family: '鼎猎珠海体';
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

/* 消除 li 元素的默认样式 */
ul li {
    list-style-type: none;
    /* 如果需要去除列表项的内边距和外边距，可以添加以下两行 */
    margin: 0;
    padding: 0;
}

/* 其他样式保持不变 */

/* 添加固定导航栏的样式 */
.nav-container.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* 确保导航栏在其他元素之上 */
}

@font-face {
    font-family: '峄山碑篆体';
    /* 自定义字体名称 */
    src: url('../字体/峄山碑篆体.ttf') format('truetype');
    /* 兼容旧浏览器 */
    font-weight: normal;
    /* 字体粗细（根据实际文件调整） */
    font-style: normal;
    /* 字体样式（斜体等） */
}

span {
    font-family: '峄山碑篆体';
    font-size: 32px;
    letter-spacing: 5px;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
}

.nav-container {
    background-color: var(--imperial-blue);
    /* padding: 10px 20px; */
    background-color: #77201f;
    background-size: cover;
}

.nav-bar {
    font-family: '鼎猎珠海体';
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



/* 调整图片样式 */
.brand img {
    width: 70px;
    /* 根据实际情况调整宽度 */
    height: auto;
    /* 保持图片比例 */
}

.nav-menu {
    font-family: '鼎猎珠海体';
    display: flex;
    list-style: none;
    position: relative;
    transition: opacity 0.3s;
}

.nav-item {
    margin-left: 15px;
    position: relative;
}

.nav-link {
    font-family: '鼎猎珠海体';
    color: white;
    text-decoration: none;
    padding: 0px 30px;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 24px;
}

.nav-link:hover {
    background-color: #77201f;
    border-radius: 4px;
}

.dropdown-menu {

    display: none;
    list-style: none;
    position: absolute;
    top: 124%;
    left: 0;
    background-color: #77201f;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(119, 181, 186, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    transition:
        opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    min-height: 40px;
}

.dropdown-menu.visible {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.dropdown-item {
    padding: 12px 16px;
    transition: 0.2s;
}

.dropdown-item a {
    color: #ffffff;
}

.dropdown-item a:active {
    color: #4f5f96;
}

.dropdown-item:hover {
    background-color: #77201f;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 32px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--imperial-blue);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: #77201f;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-menu.visible {
        max-height: 500px;
    }

    .hamburger {
        display: block;
    }
}









p {
    font-family: '鼎猎珠海体';
    font-size: 1.5em;
}

.section-top span {
    font-family: '鼎猎珠海体';
    font-size: 1em;
}


h2 {
    font-family: '鼎猎珠海体';
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

/* 消除 li 元素的默认样式 */
ul li {
    list-style-type: none;
    /* 如果需要去除列表项的内边距和外边距，可以添加以下两行 */
    margin: 0;
    padding: 0;
}

body {
    background: url(../img/figure/背景1.png);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body .shell-main {
    width: 70%;
    margin: auto;
    height: auto;
    position: relative;
    transition: .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* margin-bottom: 100px; */
    flex: 1;
}

/* media */
@media (max-width:768px) {
    body .shell-main-nav ul {
        transform: scale(.7);
        right: -60px;
        top: 2px;
    }
}

@media (max-width:600px) {
    body .shell-main-nav .logo {
        display: none;
    }

    body .shell-main-nav ul {
        transform: scale(.6);
        right: -130px;
    }
}

* {
    margin: 0;
    padding: 0;
}


body .shell-main-nav {
    margin-bottom: 0;
}

section {
    width: 100%;
}

.main {
    width: 100%;
    margin: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 1430px;
    overflow-x: hidden;
    transform: translateY(0px);
    /* background-color: #fff; */
    transition: .3s;
    /* padding: 50px; */
    /* border: 1px solid #000; */
}

.img {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-image: url('./image/2.png');
    background-attachment: fixed;
    background-size: 100%;
    background-repeat: no-repeat;
}

.img::after {
    content: '敦煌人物';
    width: 500px;
    height: 200px;
    border-radius: 3px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    letter-spacing: 30px;
    font: 100 70px 'font';
    display: flex;
    align-items: center;
    justify-content: center;

}

/* -------------------------------------- */

.section-top {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.section-top-middle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-size: cover;
    margin: 0 50px;
    border: 15px solid rgba(0, 0, 0, 0.151);
}

.section-top-left,
.section-top-right {
    width: 300px;
    height: 300px;
    font-size: 22px;
    margin-top: 30px;
}

.section-top-left {
    text-align: right;
}

.section-top p {
    font-size: 26px;
    color: #22A39F;
    margin: 5px 0;
}

.section-middle-box {
    width: 100%;
    display: flex;
    margin: 50px 0;
}

.section-middle-left {
    width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-middle-left span {
    text-align: left;
    color: rgb(241, 167, 167);
    margin-top: 10px;
}

.section-middle-right {
    width: 600px;
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.section-middle-right img {
    width: 400px;
}

.section-middle-left span {
    line-height: 3rem;
    font-size: 20px;
}

.Skills {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 40px 0;
}

.Skills li {
    width: 50%;
    display: flex;
    justify-content: space-evenly;
    margin: 20px 0;
    height: 50px;
    cursor: pointer;
}

.Skills li span,
.Skills li p {
    text-align: center;
    font-size: 20px;
    display: block;
    width: 50%;
    transition: .2s;
    letter-spacing: 0px;
}

.Skills li p {
    color: #22A39F;
}

.Skills li:hover p {
    letter-spacing: 5px;
}

.Achievement {
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.Achievement-left {
    display: flex;
    flex-direction: column;
    width: 300px;
}

.Achievement-left h2 {
    font-size: 18px;
    margin-bottom: 20px;
}

.Achievement-left span {
    font-size: 10px;
}

.Achievement-right {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 450px;
}

.Achievement-right img {
    width: 200px;
    margin-left: 20px;
    margin-bottom: 20px;
    transition: .3s;
}

.Achievement-right img:hover {
    transform: scale(1.1);
}

.slider {
    width: 1000px;
    height: 300px;
    position: relative;
    margin-top: 100px;
}

.slides {
    display: flex;
    width: fit-content;
    animation: slide 10s linear infinite;
    gap: 20px;
    padding: 0 20px;
}

.slide {
    min-width: 200px;
    height: 200px;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 4 - 20px * 4));
    }
}

.footer_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* 相册容器样式 */
.carousel {
    font-family: '鼎猎珠海体';
    width: 100%;
    margin: 50px auto;
    overflow: hidden;
    position: relative;
}

.carousel-inner {
    display: flex;
    width: 200%;
    animation: carousel-scroll 12s linear infinite;
}

.carousel-item {
    width: 25%;
    position: relative;
    padding: 0 8px 0 8px;
}

.carousel-item img {
    width: 100%;
    height: 300px;
    display: block;

}

.carousel-caption h4 {
    font-family: '鼎猎珠海体';
}

.carousel-caption {
    font-family: '鼎猎珠海体';
    position: absolute;
    bottom: 0;
    top: 50%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 0.9em;
}

.carousel-caption#text {
    font-size: 1em;
    color: #000000;
    font-weight: 300;
    font-size: 18px;
    text-indent: 2em;
}

@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.footer {

    background-image: url('../img/yuewu/footer2.png');
    /* 替换为实际的图片路径 */
    background-size: cover;
    /* 使背景图覆盖整个容器，保持比例且不变形 */
    background-position: center;
    /* 背景图居中显示 */
    background-repeat: no-repeat;
    /* 防止背景图重复 */
    color: white;
    text-align: center;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_box {

    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_content {
    width: 100%;
}

.footer_title {
    font-family: '鼎猎珠海体';
    margin-bottom: 10px;
}

.footer_data {
    list-style-type: none;
    padding: 0;
}

.footer_data li {
    font-family: '鼎猎珠海体';
    margin-bottom: 5px;
}